package jrobutt;

import java.util.Collection;
import java.awt.Graphics2D;

public abstract class MultiRenderable implements Renderable
{
    protected abstract Collection<? extends Renderable> get_children ();
    
    public void render (Graphics2D g)
    {
        for (Renderable r : get_children()) r.render(g);
    }
}
